<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');

class Page extends CI_Controller {

	/**
	 * Index Page for this controller.
	 *
	 */
	function __construct()
	{
		parent::__construct();
	}
	 
	public function index()
	{
		$this->load->view('header');
		$this->load->view('index');
		$this->load->view('sidebar');
		$this->load->view('footer');
	}
	
	public function page()
	{
		$this->load->view('page');
	}
	/*
	function _remap($method)
	{
		if ($method == 'test')
		{
			$this->page();
		}
		else
		{
			$this->index();
		}
	}*/
}

/* End of file page.php */
/* Location: ./application/controllers/page.php */